import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/manager/user/login',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    method: 'post',
    data: {
      type: 2,
      data: data
    }
  })
}
export function getInfo(data) {
  return request({
    url: '/manager/user/login',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    method: 'post',
    data: {
      type: 2,
      data: data
    }
  })
}
